home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 13 / CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso / CUCD / Graphics / Ghostscript / doc / install.txt < prev    next >
Text File  |  1997-04-12  |  10KB  |  241 lines

  1.    Copyright (C) 1995, 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, install.txt, describes how to install the Ghostscript language
  21. interpreter.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.  
  25.  
  26. ********
  27. ******** How to install Ghostscript ********
  28. ********
  29.  
  30. To run Ghostscript, you need the executable file(s) and some support files.
  31. The executable file names differ according to the platform:
  32.     - On MS-DOS systems:
  33.         - With 80286 CPUs, gs.exe.
  34.         - With 32-bit CPUs and using the Watcom compiler,
  35.           gs386.exe and the DOS extender dos4gw.exe.
  36.         - With 32-bit CPUs and using the DJGPP compiler,
  37.           gs.exe and the DOS extender go32.exe.
  38.     - On MS Windows systems:
  39.         - On 16-bit systems, gswin16.exe and gsdll16.dll
  40.         - On 32-bit systems, including Windows 95 or Windows
  41.         NT, gswin32.exe and gsdll32.dll.
  42.     - On OS/2, gsos2.exe, gsdll2.dll and gspmdrv.exe.
  43.     - On VMS systems, gs.exe.
  44.     - On Unix systems, gs.
  45.  
  46. The support file names are the same on all platforms:
  47.     - gs_*.ps (see psfiles.txt for the full list), unless Ghostscript was
  48.       compiled using the "compiled initialization files" option.
  49.     - pdf_*.ps, if Ghostscript was compiled with the ability to
  50.       interpret PDF files (pdf.dev included in FEATURE_DEVS).
  51.     - Fontmap, unless you plan to always invoke Ghostscript with the
  52.       -dNOFONTMAP switch.
  53.  
  54. See the search algorithm section of use.txt for a description of the search
  55. algorithm used to find these files.
  56.  
  57. You do not need any of these files if you have developed an application that
  58. only uses the Ghostscript graphics library and not the PostScript or PDF
  59. interpreter; however, the library currently provides no way to install or
  60. load fonts.  This is obviously ridiculous and will be fixed sometime in the
  61. future.
  62.  
  63. The Ghostscript fileset includes a set of fonts (.gsf, .pfa, and .pfb
  64. files); you should have them on line as well, unless you have a complete set
  65. of other fonts (such as ATM or Display PostScript fonts) and are using a
  66. Fontmap and/or GS_FONTPATH that references them.
  67.  
  68. VMS
  69. ---
  70.  
  71. Installing Ghostscript on a VMS system requires compiling it first.  The
  72. name of the executable is GS.EXE.
  73.  
  74. You should install all the files, including the fonts, in the same
  75. directory as the executable and initialization files.  By default, this is
  76. the directory in which you did the compilation.  Consult the command file
  77. (VMS*.MAK) for more details.
  78.  
  79. If you have DECWindows/Motif installed, you may wish to replace the FONTMAP
  80. file with the file FONTMAP.VMS.  Read the comment at the beginning of the
  81. latter file for more information.
  82.  
  83. MS-DOS
  84. ------
  85.  
  86. There are two MS-DOS executables in the standard Ghostscript
  87. distribution:
  88.     - GS.EXE runs on any MS-DOS machine, but is limited to 640K.
  89.     - GS386.EXE runs on any 386 or 486 machine, and will use all
  90. available extended (not expanded) memory.
  91.  
  92. You should install all the files except the fonts in C:\GS, and the
  93. fonts in C:\GS\FONTS.
  94.  
  95. If you have Adobe Type Manager fonts installed on your system, and you wish
  96. to use them with Ghostscript, you may wish to replace the FONTMAP file with
  97. FONTMAP.ATM, and to add to the environment variable GS_LIB the name of the
  98. directory where the fonts are located (see below for more information about
  99. GS_LIB).  Before you do this, please read carefully the license that
  100. accompanies the ATM fonts; Aladdin Enterprises takes no responsibility for
  101. any possible violations of such licenses.  Similarly, if you have Adobe
  102. Type Basics, you may wish to replace FONTMAP with FONTMAP.ATB.
  103.  
  104. MS Windows
  105. ----------
  106.  
  107. Both 16-bit and 32-bit Windows platforms are supported.
  108.  
  109. For 16-bit Windows, Windows 3.1 is required.  Ghostscript consists
  110. of the following files:
  111.     GSWIN16.EXE
  112.     GSDLL16.DLL
  113. Ghostscript will not run under Windows 3.0.
  114. Since Ghostscript is a large program, you will need to run Windows 3.1 
  115. in Enhanced mode (so that it can provide virtual memory) unless you have 
  116. at least 6 Mb of RAM.
  117.  
  118. For 32-bit Windows, Win32s or Windows 95 or Windows NT are required.
  119. Ghostscript consists of the following files:
  120.     GSWIN32.EXE
  121.     GSDLL32.DLL
  122.     GS16SPL.EXE  (Win32s only)
  123.  
  124. You should install all the files except the fonts in C:\GS, and the fonts
  125. in C:\GS\FONTS.
  126.   
  127. The GSview previewer contains an installation program to install and
  128. configure GSview and Ghostscript for Win32.  Information on GSview is
  129. available from:
  130.     http://www.cs.wisc.edu/~ghost/gsview/
  131.  
  132. See under "MS-DOS" above for information about using Adobe Type Manager
  133. fonts with Ghostscript.
  134.  
  135. If your system uses TrueType fonts, you can get them converted to a
  136. Ghostscript-compatible format at the time you select your "printer" by
  137. doing the following:
  138.  
  139. 1)    Open control panel and double click on the printers icon.
  140. 2)    Select your Postscript Printer.
  141. 3)    Choose Setup.
  142. 4)    Choose Options.
  143. 5)    Choose Advanced.
  144. 6)    At the top of the Dialog Box you will see TrueType Fonts
  145.     Send to Printer As: <drop down menu>
  146.     Choose Adobe Type 1.
  147. 7)    Uncheck Use Printer Fonts for All TrueType Fonts
  148.     and Use Substitution Table.
  149. 8)    OK.
  150. 9)    OK etc.
  151.  
  152. That's it!  Your TrueType fonts will automatically be downloaded in your
  153. PostScript file for Ghostscript to use.
  154.  
  155. For printer devices, the default output is:
  156.   the default printer (Win95 or WinNT)
  157. OR
  158.   prompt for a printer port (Win16 or Win32s).
  159. This can be modified as follows.
  160.   -sOutputFile="LPT1:"
  161.        Output to named port.
  162.   -sOutputFile="\\spool\printer name"   (Win95 or WinNT only)
  163.        Output to named printer.
  164.   -sOutputFile="\\spool"                (Win95 or WinNT only)
  165.        Prompt for printer name.  Local printers only are supported.
  166. For Win32s, make sure that gs16spl.exe is in the same directory
  167. as gswin32.exe.
  168.   
  169.  
  170. OS/2 2.x
  171. --------
  172.  
  173. The Ghostscript OS/2 implementation is designed for OS/2 2.1 or later.
  174. A few people have used it successfully under OS/2 2.0, but it has had 
  175. very little testing.
  176.  
  177. The name of the executable is GSOS2.EXE.  This is a text application that
  178. will run windowed or full screen.   The Dynamic Link Library GSDLL2.DLL
  179. must be in the same directory as GSOS2.EXE or on the LIBPATH.
  180. The default device is "os2pm" which displays output in a Presentation 
  181. Manager window using the external driver GSPMDRV.EXE.  GSPMDRV.EXE must 
  182. be located in the same directory as GSOS2.EXE or on the PATH.
  183.  
  184. GSOS2.EXE, GSDLL2.DLL and GSPMDRV.EXE are compiled using EMX/GCC 0.9b.  
  185. You must have the EMX DLL's on your LIBPATH.  These are available from
  186.     ftp://hobbes.nmsu.edu/os2/unix/emx09b/emxrt.zip
  187.  
  188. The system menu of the Ghostscript Image window includes a "Copy" command
  189. to copy the currently displayed bitmap to the Clipboard.
  190.  
  191. OS/2 comes with some Adobe Type Manager fonts. If you wish to use these
  192. with Ghostscript, you should replace the FONTMAP file with FONTMAP.OS2,
  193. and add to the environment variable GS_LIB the name of the directory where
  194. the fonts are located, usually c:\psfonts.  (see below for more
  195. information about GS_LIB).  Before you do this, please read carefully the
  196. license that accompanies the ATM fonts; Aladdin Enterprises takes no
  197. responsibility for any possible violations of such licenses.
  198.  
  199. Since GSOS2.EXE is not a PM application, it cannot determine the depth of
  200. the PM display.  You must provide this information using the
  201. -dBitsPerPixel option.  The default is 8 bits/pixel.  Valid values are 1,
  202. 4, 8 & 24.
  203.   For monochrome VGA use      -dBitsPerPixel=1
  204.   For standard VGA screen use -dBitsPerPixel=4
  205.   For 256 colour SVGA use     -dBitsPerPixel=8
  206. A command file gspm.cmd containing the following line may be useful:
  207.   @c:\gs\gsos2.exe -Ic:/gs;c:/gs/fonts;c:/psfonts -sDEVICE=os2pm 
  208.       -dBitsPerPixel=8 -sPAPERSIZE=a4 %1 %2 %3 %4 %5 %6 %7 %8
  209.  
  210. While drawing, the os2pm driver updates the display every 5 seconds.  On
  211. slow computers this is undesirable and a different interval can be
  212. specified in milliseconds with the -dUpdateInterval option.  The default
  213. is -dUpdateInterval=5000; to disable update use -dUpdateInterval=0.
  214.  
  215. Standard VGA is very slow due to double buffering to avoid bugs and due to
  216. 1 plane to 4 plane conversion.  Use a 256 color display driver by
  217. preference.  Many display drivers have bugs which cause 1 bit/pixel
  218. bitmaps to be displayed incorrectly.
  219.  
  220. GSOS2.EXE and GSPMDRV.EXE will stay in memory for the number of minutes
  221. specified in the environment variable GS_LOAD.
  222.  
  223. If you run GS386 in the OS/2 2.0 or 2.1 DOS Box, you must select the
  224. "ENABLED" setting for the DPMI_DOS_API option of the DOS Box.  GS386
  225. will not run with the "AUTO" setting.
  226.  
  227. For printer devices, output goes to the default queue.
  228. To print to a specified queue, use -sOutputFile=\\spool\NullLPT1
  229. where NullLPT1 is the queue physical name.
  230.  
  231. Unix
  232. ----
  233.  
  234. Installing Ghostscript on a Unix system requires compiling it first: please
  235. read the Unix section(s) in make.txt for more information, especially
  236. regarding how to decide which makefile to use and how you may need to edit
  237. it.  The name of the executable is gs.  The makefile installs all the files,
  238. except the fonts, in /usr/local or various subdirectories thereof.  The
  239. fonts should be installed in /usr/local/share/ghostscript/fonts.  Consult
  240. the makefile for more details.
  241.